package com.atguigu.kafka.flink.model;

public class AccRes {
    private double avg;
    private int maxDiffMoney;
    private int maxMoney;
    private int minMoney=Integer.MAX_VALUE;
    private int count;
    private String maxMoneyPersonName;
    private String minMoneyPersonName;

    public int getMaxMoney() {
        return maxMoney;
    }

    public void setMaxMoney(int maxMoney) {
        this.maxMoney = maxMoney;
    }

    public int getMinMoney() {
        return minMoney;
    }

    public void setMinMoney(int minMoney) {
        this.minMoney = minMoney;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public double getAvg() {
        return avg;
    }

    public void setAvg(double avg) {
        this.avg = avg;
    }

    public int getMaxDiffMoney() {
        return maxDiffMoney;
    }

    public void setMaxDiffMoney(int maxDiffMoney) {
        this.maxDiffMoney = maxDiffMoney;
    }

    public String getMaxMoneyPersonName() {
        return maxMoneyPersonName;
    }

    public void setMaxMoneyPersonName(String maxMoneyPersonName) {
        this.maxMoneyPersonName = maxMoneyPersonName;
    }

    public String getMinMoneyPersonName() {
        return minMoneyPersonName;
    }

    public void setMinMoneyPersonName(String minMoneyPersonName) {
        this.minMoneyPersonName = minMoneyPersonName;
    }

    @Override
    public String toString() {
        return "AccRes{" +
                "avg=" + avg +
                ", maxDiffMoney=" + maxDiffMoney +
                ", count=" + count +
                ", maxMoneyPersonName='" + maxMoneyPersonName + '\'' +
                ", minMoneyPersonName='" + minMoneyPersonName + '\'' +
                '}';
    }
}
